SureCartBlocks\Util\BlockStyleAttributes B

Total Complexity 83
Dependencies 0
Dependents 5
Total lines 674
Lines of code 385
Logical lines of code 171
Comment lines 187
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
getBorderColorClassAndStyle()
A
50 9 27
getAlignClassAndStyle()
A
49 7 37
getClassesAndStylesFromAttributes()
S
45 4 45
getBorderRadiusClassAndStyle()
S
52 5 25
getTextAlignClassAndStyle()
S
53 5 25
getGradientClassAndStyle()
S
54 5 21
getTextColorClassAndStyle()
S
54 5 21
getBackgroundColorClassAndStyle()
S
54 5 21
getBorderWidthClassAndStyle()
S
54 5 20
getFontSizeClassAndStyle()
S
56 5 19
getLinkColorClassAndStyle()
S
54 3 21
getPaddingClassAndStyle()
S
59 3 14
getMarginClassAndStyle()
S
59 3 14
getSpacingValue()
S
67 3 7
getColorValue()
S
67 3 7
getLineHeightClassAndStyle()
S
63 2 10
getFontWeightClassAndStyle()
S
63 2 10
getFontFamilyClassAndStyle()
S
64 2 10
getFontStyleClassAndStyle()
S
63 2 10
getTextTransformClassAndStyle()
S
63 2 10
getClassesByAttributes()
S
74 1 4
getStylesByAttributes()
S
74 1 4
getPresetValue()
S
80 1 3